package stud.mpgame.flash.game;
import stud.mpgame.network.UserObject;
import stud.mpgame.snapshot.ISnapshot;

/**
 * ...
 * @author gdsg
 */

class GameWorld extends UserObject implements ISnapshot {
    
    private var userList:List<User>;
    private var time:Int;
    private var eventDispatcher:GameEventDispatcher;
        
    public function new(g:GameEventDispatcher) {
        eventDispatcher = g;
        super();
    }
    
    public function getTime():Int {
        return this.time;
    }
    
	
	public function interpolate(deltaTime:Int, serverSnapshot:ISnapshot):ISnapshot {
    }
	
	public function extrapolate(deltaTime:Int, commands:List<ICommand>):ISnapshot {
    }
	
    public function synchronize(serverSnapshot:ISnapshot):ISnapshot {
    }
    
}    
